package com.qx.po;
//(dno,pno,gno,dquantity,dprice,dsumprice,dtips)
public class Details {
	private String dno;
    private String pno;
    private String gno;
    private int dquantity;
    private String dprice;
    private int dsumprice;
    private String dtips;
    
    private Purchase purchase;
    private Goods goods;
    
	public String getDno() {
		return dno;
	}
	public void setDno(String dno) {
		this.dno = dno;
	}
	public String getPno() {
		return pno;
	}
	public void setPno(String pno) {
		this.pno = pno;
	}
	public String getGno() {
		return gno;
	}
	public void setGno(String gno) {
		this.gno = gno;
	}
	public int getDquantity() {
		return dquantity;
	}
	public void setDquantity(int dquantity) {
		this.dquantity = dquantity;
	}
	public String getDprice() {
		return dprice;
	}
	public void setDprice(String dprice) {
		this.dprice = dprice;
	}
	public int getDsumprice() {
		return dsumprice;
	}
	public void setDsumprice(int dsumprice) {
		this.dsumprice = dsumprice;
	}
	public String getDtips() {
		return dtips;
	}
	public void setDtips(String dtips) {
		this.dtips = dtips;
	}
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	
	@Override
	public String toString() {
    return "Details:[dno=" + dno + ", pno=" + pno + ", gno=" + gno
            + ", dquantity=" + dquantity + ", dprice=" + dprice + ", dsumprice=" + dsumprice + ", dtips=" + dtips + "]";
	}
	public Purchase getPurchase() {
		return purchase;
	}
	public void setPurchase(Purchase purchase) {
		this.purchase = purchase;
	}
}
